<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>
      //数组
      var arr1=[1,2,3,4,5,6];
      var arr2=['1','2','3','4','5','6'];

    //   console.log(arr1);
    //   console.log(arr2);

    //   console.log(arr1[3]);
      //修改数组
      arr1[0]=100;
      console.log(arr1);

      //关联数组 没有下标 没有length
      var ym=[88,77,66];
      ym['a']=88;
      ym['b']=77;
      ym['c']=66;
      console.log(ym);

      var arr3=new Array();
      console.log(arr3);

      

    </script>
</body>
</html>